|
ObjectiveLib
1.0.0
|
An iterator that can traverse a collection both forwards and backwards. More...
#import <ObjectiveLib/Iterator.h>

Public Member Functions | |
| (id) | - reverse |
| Reverse the iterator by one position. | |
An iterator that can traverse a collection both forwards and backwards.
This is an abstract class; the default implementation of reverse (OLBidirectionalIterator) does nothing.
| - (id) reverse |
Reverse the iterator by one position.
After reversing the iterator will point to a position in the container one step before the previous position.
Reimplemented in OLArrayIterator, OLAssociativeIterator, OLBitIterator, OLReverseBidiIterator, OLDequeIterator, and OLListIterator.
|